package org.dromara.system.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 支付邮件配置对象 email_config
 *
 * @author Gavino
 * @date 2025-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("email_config")
public class EmailConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 配置ID
     */
    @TableId(value = "config_id")
    private Long configId;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 邮箱账号ID
     */
    private String emailAccountId;

    /**
     * 收款账号ID
     */
    private String payAccountId;

    /**
     * 邮件模板ID
     */
    private Integer templateId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建人ID
     */
    private Long createId;

    /**
     * 创建者
     */
    private String createName;

    /**
     * 更新人ID
     */
    private Long updateId;

    /**
     * 更新者
     */
    private String updateName;


}
